﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Remote.Model
{
    [DataContract]
    public partial class ChapterInfo
    {
        public ChapterInfo()
        {
        }

        #region Model

        private int _chapterid=0;
        //private int _siteid = 0;
        private int _articleid = 0;
        private string _articlename = "";
        //private int _volumeid = 0;
        //private int _posterid = 0;
        //private string _poster = "";
        //private int _postdate = 0;
        private int _lastupdate = 0;
        private string _chaptername = "";
        //private int _chapterorder = 0;
        //private int _size = 0;
        //private int _saleprice = 0;
        //private int _salenum = 0;
        //private int _totalcost = 0;
        //private string _attachment = "";
        private int _isvip = 0;
        private int _chaptertype = 0;
        //private int _power = 0;
        //private int _display = 0;
        private int _isnew = 0;
        private int _ctype = 0;
        private string _chapterlink = "";
        private int _preview_page = -1;
        private int _sourcearticleid = 0;
        private string _webflag = "";
        private string _webname = "";
        private string _flag = "";
        [DataMember]
        public string flag
        {
            get { return _flag; }
            set { _flag = value; }
        }
        [DataMember]
        public string webname
        {
            get { return _webname; }
            set { _webname = value; }
        }

        [DataMember]
        public string webflag
        {
            get { return _webflag; }
            set { _webflag = value; }
        }

        [DataMember]
        public int sourcearticleid
        {
            get { return _sourcearticleid; }
            set { _sourcearticleid = value; }
        }

        private int _sourcechapterid = 0;

        [DataMember]
        public int sourcechapterid
        {
            get { return _sourcechapterid; }
            set { _sourcechapterid = value; }
        }

        [DataMember]
        public int previewpage
        {
            get { return _preview_page; }
            set { _preview_page = value; }
        }

        private int _next_page = -1;

        [DataMember]
        public int nextpage
        {
            get { return _next_page; }
            set { _next_page = value; }
        }

        private string _volumename = "";

        [DataMember]
        public string volumename
        {
            get { return _volumename; }
            set { _volumename = value; }
        }

        [DataMember]
        public string chapterlink
        {
            set { _chapterlink = value; }
            get { return _chapterlink; }
        }

        [DataMember]
        public int ctype
        {
            set { _ctype = value; }
            get { return _ctype; }
        }


        [DataMember]
        public int chapterid
        {
            set { _chapterid = value; }
            get { return _chapterid; }
        }

        //[DataMember]
        //public int siteid
        //{
        //    set { _siteid = value; }
        //    get { return _siteid; }
        //}

        [DataMember]
        public int articleid
        {
            set { _articleid = value; }
            get { return _articleid; }
        }

        [DataMember]
        public string articlename
        {
            set { _articlename = value; }
            get { return _articlename; }
        }

        //[DataMember]
        //public int volumeid
        //{
        //    set { _volumeid = value; }
        //    get { return _volumeid; }
        //}

        //[DataMember]
        //public int posterid
        //{
        //    set { _posterid = value; }
        //    get { return _posterid; }
        //}

        //[DataMember]
        //public string poster
        //{
        //    set { _poster = value; }
        //    get { return _poster; }
        //}

        //[DataMember]
        //public int postdate
        //{
        //    set { _postdate = value; }
        //    get { return _postdate; }
        //}

        [DataMember]
        public int lastupdate
        {
            set { _lastupdate = value; }
            get { return _lastupdate; }
        }

        [DataMember]
        public string chaptername
        {
            set { _chaptername = value; }
            get { return _chaptername; }
        }

        //[DataMember]
        //public int chapterorder
        //{
        //    set { _chapterorder = value; }
        //    get { return _chapterorder; }
        //}

        //[DataMember]
        //public int size
        //{
        //    set { _size = value; }
        //    get { return _size; }
        //}

        //[DataMember]
        //public int saleprice
        //{
        //    set { _saleprice = value; }
        //    get { return _saleprice; }
        //}

        //[DataMember]
        //public int salenum
        //{
        //    set { _salenum = value; }
        //    get { return _salenum; }
        //}

        //[DataMember]
        //public int totalcost
        //{
        //    set { _totalcost = value; }
        //    get { return _totalcost; }
        //}

        //[DataMember]
        //public string attachment
        //{
        //    set { _attachment = value; }
        //    get { return _attachment; }
        //}

        [DataMember]
        public int isvip
        {
            set { _isvip = value; }
            get { return _isvip; }
        }

        [DataMember]
        public int chaptertype
        {
            set { _chaptertype = value; }
            get { return _chaptertype; }
        }

        //[DataMember]
        //public int power
        //{
        //    set { _power = value; }
        //    get { return _power; }
        //}

        //[DataMember]
        //public int display
        //{
        //    set { _display = value; }
        //    get { return _display; }
        //}

        [DataMember]
        public int isnew
        {
            get { return _isnew; }
            set { _isnew = value; }
        }

        #endregion Model

    }
}
